package com.meilai.project.service.business.sale;

import com.baomidou.mybatisplus.extension.service.IService;
import com.meilai.project.entity.business.sale.BillSaleProxyMediaDetail;
import com.meilai.project.vo.business.sale.BillSaleProxyMediaDetailVO;

import java.math.BigDecimal;
import java.util.List;

public interface BillSaleProxyMediaDetailService extends IService<BillSaleProxyMediaDetail> {

    int deleteByBillSaleId(Long bill_sale_id);

    List<BillSaleProxyMediaDetailVO> selectByBillSaleId(Long bill_sale_id);

    BigDecimal getTotalExecutedAmount(Long contract_id);
}
